﻿using System.Linq;

namespace Entities
{
    public partial class Employee
    {
        public bool HasAttended(string eventTitle)
        {
            return Events.Any(e => e.EventTitle == eventTitle);
        }
    }
}